package pers.xuehongyan.useat.server.exception.user;

import org.springframework.http.HttpStatus;

/**
 * @author xuehongyan
 */
public class UserAuthenticationFailException extends UserException {
    public UserAuthenticationFailException() {
        super("Incorrect username or password.");
    }

    @Override
    public HttpStatus getHttpStatus() {
        return HttpStatus.UNAUTHORIZED;
    }
}
